package com.sibu.yx.promotion.admin.web.support.config;

import com.sibu.yx.promotion.admin.web.support.quartz.LocalSchedulerFactoryBeanCustomizer;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import lombok.extern.slf4j.Slf4j;

/**
 * @author suzheng
 * @date 2020-07-07
 **/
@Slf4j
@ComponentScan(value = "com.sibu.yx.promotion.admin.web.support.quartz")
@Configuration
public class QuartzConfig {

    @Bean
    public LocalSchedulerFactoryBeanCustomizer localSchedulerFactoryBeanCustomizer (){
        return new LocalSchedulerFactoryBeanCustomizer();
    }
}
